//
//  WKDelegetaController.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/11/24.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "WKDelegetaController.h"

@interface WKDelegetaController ()

@end

@implementation WKDelegetaController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message{
    
    
    if ([self.delegate respondsToSelector:@selector(userContentController:didReceiveScriptMessage:)]) {
        [self.delegate userContentController:userContentController didReceiveScriptMessage:message];
    }
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
